package com.quanyan.user.model.vo.response;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/3/8.
 */
public class RespUnReadCount implements Serializable {

    /**
     * 0 显示 1 隐藏
     */
    private byte flag = 1;

    private Integer commentCount = 0;

    private Integer praiseCount = 0;

    private Integer atCount = 0;


    public byte getFlag() {

        return flag;
    }

    public void setFlag() {
        if (this.commentCount == 0 && this.praiseCount == 0 && this.atCount == 0)
            flag = 1;
        else
            flag = 0;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getPraiseCount() {
        return praiseCount;
    }

    public void setPraiseCount(Integer praiseCount) {
        this.praiseCount = praiseCount;
    }

    public Integer getAtCount() {
        return atCount;
    }

    public void setAtCount(Integer atCount) {
        this.atCount = atCount;
    }


}
